package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by pjn on 2017/7/22.
 */
@Entity
@Table(name = "tb_signal_machine", schema = "hualude_db", catalog = "")
public class SignalMachineEntity {
    private Integer signalMachineId;
    private String projectNumber;
    private String signalMachineLongitude;
    private String signalMachineLatitude;
    private String signalMachineProvince;
    private String signalMachineCity;
    private String signalMachineArea;
    private String signalMachineStartRoad;
    private String signalMachineEndRoad;
    private Integer signalMachineType;
    private String signalMachineBrand;
    private String signalMachineNumber;
    private Integer signalMachineIsAlarm;
    private String signalMachinePhoto;
    private String signalMachineInstallTime;
    private String signalMachineInstallOrg;
    private Integer signalMachinePeriod;
    private Integer signalMachineServiceLife;
    private String signalMachineRemark;
    private Integer signalMachineCreatorId;
    private Integer signalMachineModifierId;
    private Integer signalMachineOrgId;
    private Integer signalMachineMainOrgId;
    private Integer signalMachineIsComplete;
    private Integer signalMachineRegionId;
    private String signalMachineADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "SignalMachineId")
    public Integer getSignalMachineId() {
        return signalMachineId;
    }

    public void setSignalMachineId(Integer signalMachineId) {
        this.signalMachineId = signalMachineId;
    }

    @Basic
    @Column(name = "ProjectNumber")
    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    @Basic
    @Column(name = "SignalMachineLongitude")
    public String getSignalMachineLongitude() {
        return signalMachineLongitude;
    }

    public void setSignalMachineLongitude(String signalMachineLongitude) {
        this.signalMachineLongitude = signalMachineLongitude;
    }

    @Basic
    @Column(name = "SignalMachineLatitude")
    public String getSignalMachineLatitude() {
        return signalMachineLatitude;
    }

    public void setSignalMachineLatitude(String signalMachineLatitude) {
        this.signalMachineLatitude = signalMachineLatitude;
    }

    @Basic
    @Column(name = "SignalMachineProvince")
    public String getSignalMachineProvince() {
        return signalMachineProvince;
    }

    public void setSignalMachineProvince(String signalMachineProvince) {
        this.signalMachineProvince = signalMachineProvince;
    }

    @Basic
    @Column(name = "SignalMachineCity")
    public String getSignalMachineCity() {
        return signalMachineCity;
    }

    public void setSignalMachineCity(String signalMachineCity) {
        this.signalMachineCity = signalMachineCity;
    }

    @Basic
    @Column(name = "SignalMachineArea")
    public String getSignalMachineArea() {
        return signalMachineArea;
    }

    public void setSignalMachineArea(String signalMachineArea) {
        this.signalMachineArea = signalMachineArea;
    }

    @Basic
    @Column(name = "SignalMachineStartRoad")
    public String getSignalMachineStartRoad() {
        return signalMachineStartRoad;
    }

    public void setSignalMachineStartRoad(String signalMachineStartRoad) {
        this.signalMachineStartRoad = signalMachineStartRoad;
    }

    @Basic
    @Column(name = "SignalMachineEndRoad")
    public String getSignalMachineEndRoad() {
        return signalMachineEndRoad;
    }

    public void setSignalMachineEndRoad(String signalMachineEndRoad) {
        this.signalMachineEndRoad = signalMachineEndRoad;
    }

    @Basic
    @Column(name = "SignalMachineType")
    public Integer getSignalMachineType() {
        return signalMachineType;
    }

    public void setSignalMachineType(Integer signalMachineType) {
        this.signalMachineType = signalMachineType;
    }

    @Basic
    @Column(name = "SignalMachineBrand")
    public String getSignalMachineBrand() {
        return signalMachineBrand;
    }

    public void setSignalMachineBrand(String signalMachineBrand) {
        this.signalMachineBrand = signalMachineBrand;
    }

    @Basic
    @Column(name = "SignalMachineNumber")
    public String getSignalMachineNumber() {
        return signalMachineNumber;
    }

    public void setSignalMachineNumber(String signalMachineNumber) {
        this.signalMachineNumber = signalMachineNumber;
    }

    @Basic
    @Column(name = "SignalMachineIsAlarm")
    public Integer getSignalMachineIsAlarm() {
        return signalMachineIsAlarm;
    }

    public void setSignalMachineIsAlarm(Integer signalMachineIsAlarm) {
        this.signalMachineIsAlarm = signalMachineIsAlarm;
    }

    @Basic
    @Column(name = "SignalMachinePhoto")
    public String getSignalMachinePhoto() {
        return signalMachinePhoto;
    }

    public void setSignalMachinePhoto(String signalMachinePhoto) {
        this.signalMachinePhoto = signalMachinePhoto;
    }

    @Basic
    @Column(name = "SignalMachineInstallTime")
    public String getSignalMachineInstallTime() {
        return signalMachineInstallTime;
    }

    public void setSignalMachineInstallTime(String signalMachineInstallTime) {
        this.signalMachineInstallTime = signalMachineInstallTime;
    }

    @Basic
    @Column(name = "SignalMachineInstallOrg")
    public String getSignalMachineInstallOrg() {
        return signalMachineInstallOrg;
    }

    public void setSignalMachineInstallOrg(String signalMachineInstallOrg) {
        this.signalMachineInstallOrg = signalMachineInstallOrg;
    }

    @Basic
    @Column(name = "SignalMachinePeriod")
    public Integer getSignalMachinePeriod() {
        return signalMachinePeriod;
    }

    public void setSignalMachinePeriod(Integer signalMachinePeriod) {
        this.signalMachinePeriod = signalMachinePeriod;
    }

    @Basic
    @Column(name = "SignalMachineServiceLife")
    public Integer getSignalMachineServiceLife() {
        return signalMachineServiceLife;
    }

    public void setSignalMachineServiceLife(Integer signalMachineServiceLife) {
        this.signalMachineServiceLife = signalMachineServiceLife;
    }

    @Basic
    @Column(name = "SignalMachineRemark")
    public String getSignalMachineRemark() {
        return signalMachineRemark;
    }

    public void setSignalMachineRemark(String signalMachineRemark) {
        this.signalMachineRemark = signalMachineRemark;
    }

    @Basic
    @Column(name = "SignalMachineCreatorId")
    public Integer getSignalMachineCreatorId() {
        return signalMachineCreatorId;
    }

    public void setSignalMachineCreatorId(Integer signalMachineCreatorId) {
        this.signalMachineCreatorId = signalMachineCreatorId;
    }

    @Basic
    @Column(name = "SignalMachineModifierId")
    public Integer getSignalMachineModifierId() {
        return signalMachineModifierId;
    }

    public void setSignalMachineModifierId(Integer signalMachineModifierId) {
        this.signalMachineModifierId = signalMachineModifierId;
    }

    @Basic
    @Column(name = "SignalMachineOrgId")
    public Integer getSignalMachineOrgId() {
        return signalMachineOrgId;
    }

    public void setSignalMachineOrgId(Integer signalMachineOrgId) {
        this.signalMachineOrgId = signalMachineOrgId;
    }

    @Basic
    @Column(name = "SignalMachineMainOrgId")
    public Integer getSignalMachineMainOrgId() {
        return signalMachineMainOrgId;
    }

    public void setSignalMachineMainOrgId(Integer signalMachineMainOrgId) {
        this.signalMachineMainOrgId = signalMachineMainOrgId;
    }

    @Basic
    @Column(name = "SignalMachineIsComplete")
    public Integer getSignalMachineIsComplete() {
        return signalMachineIsComplete;
    }

    public void setSignalMachineIsComplete(Integer signalMachineIsComplete) {
        this.signalMachineIsComplete = signalMachineIsComplete;
    }

    @Basic
    @Column(name = "SignalMachineRegionId")
    public Integer getSignalMachineRegionId() {
        return signalMachineRegionId;
    }

    public void setSignalMachineRegionId(Integer signalMachineRegionId) {
        this.signalMachineRegionId = signalMachineRegionId;
    }

    @Basic
    @Column(name = "SignalMachineADeviceId")
    public String getSignalMachineADeviceId() {
        return signalMachineADeviceId;
    }

    public void setSignalMachineADeviceId(String signalMachineADeviceId) {
        this.signalMachineADeviceId = signalMachineADeviceId;
    }

    @Basic
    @Column(name = "AlarmCount", nullable = true)
    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    @Basic
    @Column(name = "AlarmDeviceId", nullable = true, length = 20)
    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }
}
